package com.a.b.c.d.e.utils;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * Created on 2021/11/20.
 *
 * @author yanshuchun
 */
public class Test {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new AnnotationConfigApplicationContext("com.a.b.c.d.e.entities");
        Object oaSysAuth = applicationContext.getBean("oaSysAuth");
        System.out.println(oaSysAuth);
    }
}
